<#assign shmsConstant = statics["cn.hfatec.shms.constants.ShmsConstant"]/>
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
    <div class="bell"><i class="fa fa-bell"></i><span class="badge badge-red"
                                                      id="user-new-messages">${totalNewsList?size}</span>
    </div>
</a>
<ul class="dropdown-menu wide arrow blue nopadding animated fadeInDown">
    <li><h1>你有<strong class="orange-text">${totalNewsList?size}</strong>个新消息</h1></li>
<#if newsList??>
    <#list newsList as News>
        <li>
            <a class="orange" onclick=" readNews(${News.id?c});">

                <div class="message-info">
                    <span class="sender">${News.noticeTitle!''}</span>
                    <span class="time">${(News.launchDate?string("yyyy-MM-dd HH:mm:ss"))!''}</span>
                </div>
                <#if News.isRead == shmsConstant.IS_RED_NO>
                    <div style="float: right;"><span class="label label-red">New</span></div>
                </#if>
            </a>
        </li>
    </#list>
</#if>
    <li><a onclick="window.location.href='${absoluteContextPath}/system/notice/list'" class="text-right">更多消息<i
            class="fa fa-angle-right"></i></a></li>
</ul>